package de.syfy.project.engine.hud.interfaces;

import de.syfy.project.engine.Texture;
import de.syfy.project.engine.hud.EventListener;
import java.awt.Dimension;
import java.awt.geom.Point2D;

/**
 *
 * @author Timo
 * 
 * Info folgt.
 */
public interface UI_Container extends Comparable<UI_Container>{
    
    public void setSize(Dimension d);
    
    public Dimension getSize();

    /*
     * Position relativ zu GamePanel
     * 
     */
    public void setPosition(Point2D.Float p);
    
    public Point2D.Float getPosition();
    
    public void setPriority(int priority);
    
    public int getPriority();
    
    public void setBackground(Texture texture);
    
    public void addItem(UI_Item item);
    
    public void removeItem(UI_Item item);
    
    public void drawContainer();
    
    public void addEventListener(EventListener e);
    
}
